Previous Book Contents Book Index Next

Inside Macintosh: Programming With the Text Encoding Conversion Manager /
Chapter 2 - Basic Text Types Reference / Basic Text Functions
Obtaining Converter Information /


TECGetInfo

Allocates a converter information structure of type TECInfo in the application heap using NewHandle, fills it out, and returns a handle.

pascal OSStatus TECGetInfo (TECInfoHandle *tecInfo);
tecInfo
A handle to a structure of type TECInfo (page 47) containing information about the converter.
function result
A result code. This function can return memory errors. For a list of other possible result codes, see "Text Encoding Conversion Manager Result Codes" (page 43).
DISCUSSION
When you are finished with the handle, your application must dispose of it using DisposeHandle. You must also perform any required preflighting or memory rearrangement before calling TECGetInfo.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1997